require('./dProfile.css')
import {
    review
} from "./ajax";
$(function () {
    $(".notPass").click(function () {
        let status = $(this).data('level');
        let uid = $(this).data('uid');
        review(status, uid, (res) => {
            if(res.rel == 1){

                $.toast(res.msg);
                setTimeout("location.reload()",600);

            }else{
                 $.toast(res.msg);
            }
        });
    })
    $("#pass").click(function () {

    })

});